package com.sh.data.engine.domain.datadev.offline.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sh.data.engine.repository.dao.datadev.entity.DatadevResourceEntity;

import java.util.List;

public interface DatadevResourceService extends IService<DatadevResourceEntity> {

    List<DatadevResourceEntity> getResourceByNodeId(Long nodeId);

    DatadevResourceEntity getResourceIsActiveByNodeId(Long nodeId);

    DatadevResourceEntity findByProjectIdAndName(Long projectId, String name);
}
